package br.com.bcc481.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory {
	public Connection getConnection() {
		try {
			
			DriverManager.registerDriver(new com.mysql.jdbc.Driver());
			return DriverManager.getConnection(
					"jdbc:mysql://177.52.160.19:3306/rosalgad_bcc481bd", "rosalgad_bcc481", "bcc481");
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}
}

